
<?php $page = "Main"; ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>This is me!</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <link rel="stylesheet" type="text/css" href="/~N02233598/2011/style.css" />
  </head>

  <body>
    <?php
        include("../inc/nav.php");
        include("../inc/header.php");
    ?>
        <?php include("inc/footer.php"); ?>
<?php

session_start();

if($_SESSION['email'])
	echo "Welcome, ".$_SESSION['email']."! Doesn't it feel great to belong!<br><a href='logout.php'>Logout</a>";
else
	die("You must log in.");

?>
  </body>
</html>
